package cn.itcast.mapper;

import cn.itcast.pojo.Order;
import cn.itcast.pojo.vo.OrderVO;


import java.util.List;
import java.util.Map;

public interface OrderMapper {
    public void add(Order order);
    public List<Order> findByCondition(Order order);
    public OrderVO findById4Detail(Integer id);
    public Integer findOrderCountByDate(String date);
    public Integer findOrderCountAfterDate(String date);
    public Integer findVisitsCountByDate(String date);
    public Integer findVisitsCountAfterDate(String date);
    public List<Map> findHotSetmeal();


    void delete(Integer id);

    Map findById(Integer id);

    void updataStatus(Integer id);
}
